class Human{
				constructor(name,age,addr){
					this.name=name;
					this.age=age;
					this.addr=addr;
				}
				selfIntro(){
					alert("我叫"+this.name+",今年"+this.age+",住在"+this.addr);
				}
				pastOneYear(){
					this.age++;
				}
				beat(p){
					alert(p+"得罪了"+this.name+",被暴打");
				}
			}
			 
			class Man extends Human
			{
				constructor(name,age,addr,job){
					super(name,age,addr);
					this.job=job;
				}
				selfIntro(){
					super.selfIntro();
					alert("职业是"+this.job);
				}
				beat(p){
					alert(p+"得罪了"+this.name+",被骂的狗血喷头");
				}
			}